<?php if(null == $this->identity) exit();?>
<h3>Update post</h3>
<?php 
$form = $this->updatePostForm;
$form->setAction('/post/edit');
echo $form;?>